package com.konsung.bean;

import com.konsung.util.KParamType;
import com.konsung.util.UUIDGenerator;
import com.konsung.util.constant.GlobalConstant;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Transient;

import java.util.ArrayList;

/**
 * 测量数据，数据库实体类
 * 用来封装测量时的数据
 */
@Entity
public class MeasureDataBean {
    @Id(autoincrement = true)
    private Long id;

    private Long patientId; //关联的居民

    private String uuid; //记录数据的唯一标示uuid
    private String gluStyle = ""; //测量方式：0:为空腹血糖，1为随机血糖，2为餐后血糖
    private boolean uploadFlag; //记录是否上传的标准
    private String idcard = ""; //用身份证作为绑定用户的依据
    private int ecgHr = GlobalConstant.INVALID_DATA; // 心电图心率
    private int ecgBr = GlobalConstant.INVALID_DATA; // 心电图呼吸
    private int tAxis = GlobalConstant.INVALID_DATA; // 心电t波心电轴 单位°
    private int pAxis = GlobalConstant.INVALID_DATA; // 心电P波心电轴 单位°
    private int qrsAxis = GlobalConstant.INVALID_DATA; // 心电qrs波心电轴 单位°
    private int qrs = GlobalConstant.INVALID_DATA; // 心电qrs间期
    private int pr = GlobalConstant.INVALID_DATA; // 心电pr间期
    private int qt = GlobalConstant.INVALID_DATA; // 心电qt间期
    private int qtc = GlobalConstant.INVALID_DATA; // 心电qtc间期
    private int sv1 = GlobalConstant.INVALID_DATA; // 心电sv1 单位0.01mV
    private int rv5 = GlobalConstant.INVALID_DATA; // 心电rv5 单位0.01mV
    private String ecgDiagnoseResult = "";
    private int spo2Tred = GlobalConstant.INVALID_DATA;
    private int spo2Pr = GlobalConstant.INVALID_DATA;
    private int nibpSys = GlobalConstant.INVALID_DATA;
    private int nibpDia = GlobalConstant.INVALID_DATA;
    private int nibpPr = GlobalConstant.INVALID_DATA;
    private int temp = GlobalConstant.INVALID_DATA;
    private int irtemp = GlobalConstant.INVALID_DATA;
    private int urinertLeu = GlobalConstant.INVALID_DATA;
    private int urinertNit = GlobalConstant.INVALID_DATA;
    private int urinertUbg = GlobalConstant.INVALID_DATA;
    private int urinertPro = GlobalConstant.INVALID_DATA;
    private int urinertPh = GlobalConstant.INVALID_DATA;
    private int urinertBld = GlobalConstant.INVALID_DATA;
    private int urinertSg = GlobalConstant.INVALID_DATA;
    private int urinertBil = GlobalConstant.INVALID_DATA;
    private int urinertKet = GlobalConstant.INVALID_DATA;
    private int urinertGlu = GlobalConstant.INVALID_DATA;
    private int urinertAsc = GlobalConstant.INVALID_DATA;
    private int urinertAlb = GlobalConstant.INVALID_DATA;
    private int urinertCre = GlobalConstant.INVALID_DATA;
    private int urinertCa = GlobalConstant.INVALID_DATA;
    private int urinertAc = GlobalConstant.INVALID_DATA; //A:C值（u60 11+2项特有）
    private int bloodgluBeforeMeal = GlobalConstant.INVALID_DATA;
    private int bloodgluAfterMeal = GlobalConstant.INVALID_DATA;
    private int bloodWbc = GlobalConstant.INVALID_DATA;
    private int bloodHgb = GlobalConstant.INVALID_DATA;
    private int bloodHct = GlobalConstant.INVALID_DATA;
    private int uricacidTrend = GlobalConstant.INVALID_DATA;
    private int cholesterolTrend = GlobalConstant.INVALID_DATA;
    private int height = GlobalConstant.INVALID_DATA; //身高
    private int weight = GlobalConstant.INVALID_DATA; // 体重
    private int bloodFatCho = GlobalConstant.INVALID_DATA; // 血脂总胆固醇
    private int bloodFatTrig = GlobalConstant.INVALID_DATA; // 血脂甘油三脂
    private int bloodFatLdl = GlobalConstant.INVALID_DATA; // 血脂低密度脂蛋白
    private int bloodFatHdl = GlobalConstant.INVALID_DATA; // 血脂高密度脂蛋白
    private boolean isHaveData; //是否有测量数据。true有数据
    private String ecgWaveI = "";
    private String ecgWaveIi = "";
    private String ecgWaveIii = "";
    private String ecgWaveAvr = "";
    private String ecgWaveAvl = "";
    private String ecgWaveAvf = "";
    private String ecgWaveV1 = "";
    private String ecgWaveV2 = "";
    private String ecgWaveV3 = "";
    private String ecgWaveV4 = "";
    private String ecgWaveV5 = "";
    private String ecgWaveV6 = "";
    private int waveNum = 0;
    private int nibpMap = GlobalConstant.INVALID_DATA;

    //健康测量时间
    private Long measureTime = System.currentTimeMillis();

    //体检建表时间
    private Long checkDay = System.currentTimeMillis();
    private String doctor = ""; //责任医师
    private String waistline = ""; //腰围
    private int respPa = GlobalConstant.INVALID_DATA; //呼吸频率
    private String mammarygland = ""; //乳腺
    private String mammaryglanderr = "";
    private String vulvaerr = "";
    private String vaginaerr = "";
    private String cervicalerr = "";
    private String palaceerr = "";
    private String attach = "";
    private String attacherr = "";
    private int ghbNGSP = GlobalConstant.INVALID_DATA;
    private int ghbIFCC = GlobalConstant.INVALID_DATA;
    private int ghbEGA = GlobalConstant.INVALID_DATA;
    private int paramValue; //测量配置项参数值
    private int measureValue; //不需要appdeivice支持的测量项（身高体重）
    private int urtConfig = 1; //尿常规测量项（11,11+2,14）
    private boolean ecgIsMeasure = false; //心电是否已经测量
    @Transient //临时存储，不写入数据库
    private int ecgSize = 15;
    //字節緩存
    @Transient //临时存储，不写入数据库
    private ArrayList<String> wave1;
    @Transient //临时存储，不写入数据库
    private ArrayList<String> wave2;
    @Transient //临时存储，不写入数据库
    private ArrayList<String> wave3;
    @Transient //临时存储，不写入数据库
    private ArrayList<String> wave4;
    @Transient //临时存储，不写入数据库
    private ArrayList<String> wave5;
    @Transient //临时存储，不写入数据库
    private ArrayList<String> wave6;
    @Transient //临时存储，不写入数据库
    private ArrayList<String> wave7;
    @Transient //临时存储，不写入数据库
    private ArrayList<String> wave8;
    @Transient //临时存储，不写入数据库
    private ArrayList<String> wave9;
    @Transient //临时存储，不写入数据库
    private ArrayList<String> wave10;
    @Transient //临时存储，不写入数据库
    private ArrayList<String> wave11;
    @Transient //临时存储，不写入数据库
    private ArrayList<String> wave12;

    /**
     * 构造器
     */
    public MeasureDataBean() {
        //为uuid赋值
        uuid = UUIDGenerator.getUUID();
        doctor = "林家栋"; //主干代码未有服务器获取测量医生因此默认为林家栋
    }

    @Generated(hash = 1195784326)
    public MeasureDataBean(Long id, Long patientId, String uuid, String gluStyle, boolean uploadFlag,
            String idcard, int ecgHr, int ecgBr, int tAxis, int pAxis, int qrsAxis, int qrs, int pr,
            int qt, int qtc, int sv1, int rv5, String ecgDiagnoseResult, int spo2Tred, int spo2Pr,
            int nibpSys, int nibpDia, int nibpPr, int temp, int irtemp, int urinertLeu, int urinertNit,
            int urinertUbg, int urinertPro, int urinertPh, int urinertBld, int urinertSg,
            int urinertBil, int urinertKet, int urinertGlu, int urinertAsc, int urinertAlb,
            int urinertCre, int urinertCa, int urinertAc, int bloodgluBeforeMeal, int bloodgluAfterMeal,
            int bloodWbc, int bloodHgb, int bloodHct, int uricacidTrend, int cholesterolTrend,
            int height, int weight, int bloodFatCho, int bloodFatTrig, int bloodFatLdl, int bloodFatHdl,
            boolean isHaveData, String ecgWaveI, String ecgWaveIi, String ecgWaveIii, String ecgWaveAvr,
            String ecgWaveAvl, String ecgWaveAvf, String ecgWaveV1, String ecgWaveV2, String ecgWaveV3,
            String ecgWaveV4, String ecgWaveV5, String ecgWaveV6, int waveNum, int nibpMap,
            Long measureTime, Long checkDay, String doctor, String waistline, int respPa,
            String mammarygland, String mammaryglanderr, String vulvaerr, String vaginaerr,
            String cervicalerr, String palaceerr, String attach, String attacherr, int ghbNGSP,
            int ghbIFCC, int ghbEGA, int paramValue, int measureValue, int urtConfig,
            boolean ecgIsMeasure) {
        this.id = id;
        this.patientId = patientId;
        this.uuid = uuid;
        this.gluStyle = gluStyle;
        this.uploadFlag = uploadFlag;
        this.idcard = idcard;
        this.ecgHr = ecgHr;
        this.ecgBr = ecgBr;
        this.tAxis = tAxis;
        this.pAxis = pAxis;
        this.qrsAxis = qrsAxis;
        this.qrs = qrs;
        this.pr = pr;
        this.qt = qt;
        this.qtc = qtc;
        this.sv1 = sv1;
        this.rv5 = rv5;
        this.ecgDiagnoseResult = ecgDiagnoseResult;
        this.spo2Tred = spo2Tred;
        this.spo2Pr = spo2Pr;
        this.nibpSys = nibpSys;
        this.nibpDia = nibpDia;
        this.nibpPr = nibpPr;
        this.temp = temp;
        this.irtemp = irtemp;
        this.urinertLeu = urinertLeu;
        this.urinertNit = urinertNit;
        this.urinertUbg = urinertUbg;
        this.urinertPro = urinertPro;
        this.urinertPh = urinertPh;
        this.urinertBld = urinertBld;
        this.urinertSg = urinertSg;
        this.urinertBil = urinertBil;
        this.urinertKet = urinertKet;
        this.urinertGlu = urinertGlu;
        this.urinertAsc = urinertAsc;
        this.urinertAlb = urinertAlb;
        this.urinertCre = urinertCre;
        this.urinertCa = urinertCa;
        this.urinertAc = urinertAc;
        this.bloodgluBeforeMeal = bloodgluBeforeMeal;
        this.bloodgluAfterMeal = bloodgluAfterMeal;
        this.bloodWbc = bloodWbc;
        this.bloodHgb = bloodHgb;
        this.bloodHct = bloodHct;
        this.uricacidTrend = uricacidTrend;
        this.cholesterolTrend = cholesterolTrend;
        this.height = height;
        this.weight = weight;
        this.bloodFatCho = bloodFatCho;
        this.bloodFatTrig = bloodFatTrig;
        this.bloodFatLdl = bloodFatLdl;
        this.bloodFatHdl = bloodFatHdl;
        this.isHaveData = isHaveData;
        this.ecgWaveI = ecgWaveI;
        this.ecgWaveIi = ecgWaveIi;
        this.ecgWaveIii = ecgWaveIii;
        this.ecgWaveAvr = ecgWaveAvr;
        this.ecgWaveAvl = ecgWaveAvl;
        this.ecgWaveAvf = ecgWaveAvf;
        this.ecgWaveV1 = ecgWaveV1;
        this.ecgWaveV2 = ecgWaveV2;
        this.ecgWaveV3 = ecgWaveV3;
        this.ecgWaveV4 = ecgWaveV4;
        this.ecgWaveV5 = ecgWaveV5;
        this.ecgWaveV6 = ecgWaveV6;
        this.waveNum = waveNum;
        this.nibpMap = nibpMap;
        this.measureTime = measureTime;
        this.checkDay = checkDay;
        this.doctor = doctor;
        this.waistline = waistline;
        this.respPa = respPa;
        this.mammarygland = mammarygland;
        this.mammaryglanderr = mammaryglanderr;
        this.vulvaerr = vulvaerr;
        this.vaginaerr = vaginaerr;
        this.cervicalerr = cervicalerr;
        this.palaceerr = palaceerr;
        this.attach = attach;
        this.attacherr = attacherr;
        this.ghbNGSP = ghbNGSP;
        this.ghbIFCC = ghbIFCC;
        this.ghbEGA = ghbEGA;
        this.paramValue = paramValue;
        this.measureValue = measureValue;
        this.urtConfig = urtConfig;
        this.ecgIsMeasure = ecgIsMeasure;
    }

    /**
     * 获取波形
     * @param param 波形key值
     * @return 波形
     */
    public String getEcgWave(int param) {
        String str = "";
        switch (param) {
            case 1:
                str = ecgWaveI;

                break;
            case 2:
                str = ecgWaveIi;
                break;
            case 3:
                str = ecgWaveIii;
                break;
            case 4:
                str = ecgWaveAvr;
                break;
            case 5:
                str = ecgWaveAvl;
                break;
            case 6:
                str = ecgWaveAvf;
                break;
            case 7:
                str = ecgWaveV1;
                break;
            case 8:
                str = ecgWaveV2;
                break;
            case 9:
                str = ecgWaveV3;
                break;
            case 10:
                str = ecgWaveV4;
                break;
            case 11:
                str = ecgWaveV5;
                break;
            case 12:
                str = ecgWaveV6;
                break;
            default:
                break;
        }
        return str;
    }

    /**
     * 根据参数值获取测量值
     * @param param 参数
     * @return 测量值
     */
    public int getTrendValue(int param) {
        switch (param) {
            case KParamType.ECG_HR:
                return ecgHr;
            case KParamType.SPO2_PR:
                return spo2Pr;
            case KParamType.SPO2_TREND:
                return spo2Tred;
            case KParamType.NIBP_SYS:
                return nibpSys;
            case KParamType.NIBP_DIA:
                return nibpDia;
            case KParamType.NIBP_PR:
                return nibpPr;
            case KParamType.TEMP_T1:
                return temp;
            case KParamType.IRTEMP_TREND:
                return irtemp;
            case KParamType.NIBP_MAP:
                return nibpMap;
            case KParamType.BLOODGLU_AFTER_MEAL:
                return bloodgluAfterMeal;
            case KParamType.BLOODGLU_BEFORE_MEAL:
                return bloodgluBeforeMeal;
            case KParamType.URINERT_BIL:
                return urinertBil;
            case KParamType.URINERT_BLD:
                return urinertBld;
            case KParamType.URINERT_GLU:
                return urinertGlu;
            case KParamType.URINERT_KET:
                return urinertKet;
            case KParamType.URINERT_LEU:
                return urinertLeu;
            case KParamType.URINERT_NIT:
                return urinertNit;
            case KParamType.URINERT_PH:
                return urinertPh;
            case KParamType.URINERT_PRO:
                return urinertPro;
            case KParamType.URINERT_SG:
                return urinertSg;
            case KParamType.URINERT_UBG:
                return urinertUbg;
            case KParamType.URINERT_ASC:
                return urinertAsc;
            case KParamType.URINERT_ALB:
                return urinertAlb;
            case KParamType.URINERT_CRE:
                return urinertCre;
            case KParamType.URINERT_CA:
                return urinertCa;
            case KParamType.URINERT_AC:
                return urinertAc;
            case KParamType.BLOOD_WBC:
                return bloodWbc;
            case KParamType.BLOOD_HGB:
                return bloodHgb;
            case KParamType.BLOOD_HCT:
                return bloodHct;
            case KParamType.RESP_RR:
                return ecgBr;
            case KParamType.URICACID_TREND:
                return uricacidTrend;
            case KParamType.CHOLESTEROL_TREND:
                return cholesterolTrend;
            case KParamType.BLOOD_FAT_CHO:
                return bloodFatCho;
            case KParamType.BLOOD_FAT_HDL:
                return bloodFatHdl;
            case KParamType.BLOOD_FAT_LDL:
                return bloodFatLdl;
            case KParamType.BLOOD_FAT_TRIG:
                return bloodFatTrig;
            case KParamType.WEIGHT:
                return weight;
            case KParamType.HEIGHT:
                return height;
            case KParamType.GHB_EAG:
                return ghbEGA;
            case KParamType.GHB_HBA1C_IFCC:
                return ghbIFCC;
            case KParamType.GHB_HBA1C_NGSP:
                return ghbNGSP;
            case KParamType.BMI:
                if (height != GlobalConstant.INVALID_DATA
                        && weight != GlobalConstant.INVALID_DATA && weight != 0 && height != 0) {
                    double a = height * 0.0001;
                    double b = weight * 0.01;
                    int i = (int) ((b / (a * a)) * GlobalConstant.INT_FACTOR);
                    if (i <= 5000 && i >= 0) {
                        return i;
                    }
                }
                return -1000;
            default:
                return -1000;
        }
    }


    /**
     * 获取uuid的值
     * @return uuid uuid值
     */
    public String getUuid() {
        return uuid;
    }

    /**
     * 设置uuid的值
     * @param uuid uuid值
     */
    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    /**
     * 获取gluStyle的值
     * @return gluStyle gluStyle值
     */
    public String getGluStyle() {
        return gluStyle;
    }

    /**
     * 设置gluStyle的值
     * @param gluStyle gluStyle值
     */
    public void setGluStyle(String gluStyle) {
        this.gluStyle = gluStyle;
    }

    /**
     * 获取uploadFlag的值
     * @return uploadFlag uploadFlag值
     */
    public boolean getUploadFlag() {
        return uploadFlag;
    }

    /**
     * 设置uploadFlag的值
     * @param uploadFlag uploadFlag值
     */
    public void setUploadFlag(boolean uploadFlag) {
        this.uploadFlag = uploadFlag;
    }

    /**
     * 获取idcard的值
     * @return idcard idcard值
     */
    public String getIdcard() {
        return idcard;
    }

    /**
     * 设置idcard的值
     * @param idcard idcard值
     */
    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    /**
     * 获取ecgHr的值
     * @return ecgHr ecgHr值
     */
    public int getEcgHr() {
        return ecgHr;
    }

    /**
     * 设置ecgHr的值
     * @param ecgHr ecgHr值
     */
    public void setEcgHr(int ecgHr) {
        this.ecgHr = ecgHr;
    }

    /**
     * 获取ecgBr的值
     * @return ecgBr ecgBr值
     */
    public int getEcgBr() {
        return ecgBr;
    }

    /**
     * 设置ecgBr的值
     * @param ecgBr ecgBr值
     */
    public void setEcgBr(int ecgBr) {
        this.ecgBr = ecgBr;
    }

    /**
     * 获取tAxis的值
     * @return tAxis tAxis值
     */
    public int getTAxis() {
        return tAxis;
    }

    /**
     * 设置tAxis的值
     * @param tAxis tAxis值
     */
    public void setTAxis(int tAxis) {
        this.tAxis = tAxis;
    }

    /**
     * 获取pAxis的值
     * @return pAxis pAxis值
     */
    public int getPAxis() {
        return pAxis;
    }

    /**
     * 设置pAxis的值
     * @param pAxis pAxis值
     */
    public void setPAxis(int pAxis) {
        this.pAxis = pAxis;
    }

    /**
     * 获取qrsAxis的值
     * @return qrsAxis qrsAxis值
     */
    public int getQrsAxis() {
        return qrsAxis;
    }

    /**
     * 设置qrsAxis的值
     * @param qrsAxis qrsAxis值
     */
    public void setQrsAxis(int qrsAxis) {
        this.qrsAxis = qrsAxis;
    }

    /**
     * 获取qrs的值
     * @return qrs qrs值
     */
    public int getQrs() {
        return qrs;
    }

    /**
     * 设置qrs的值
     * @param qrs qrs值
     */
    public void setQrs(int qrs) {
        this.qrs = qrs;
    }

    /**
     * 获取pr的值
     * @return pr pr值
     */
    public int getPr() {
        return pr;
    }

    /**
     * 设置pr的值
     * @param pr pr值
     */
    public void setPr(int pr) {
        this.pr = pr;
    }

    /**
     * 获取qt的值
     * @return qt qt值
     */
    public int getQt() {
        return qt;
    }

    /**
     * 设置qt的值
     * @param qt qt值
     */
    public void setQt(int qt) {
        this.qt = qt;
    }

    /**
     * 获取qtc的值
     * @return qtc qtc值
     */
    public int getQtc() {
        return qtc;
    }

    /**
     * 设置qtc的值
     * @param qtc qtc值
     */
    public void setQtc(int qtc) {
        this.qtc = qtc;
    }

    /**
     * 获取sv1的值
     * @return sv1 sv1值
     */
    public int getSv1() {
        return sv1;
    }

    /**
     * 设置sv1的值
     * @param sv1 sv1值
     */
    public void setSv1(int sv1) {
        this.sv1 = sv1;
    }

    /**
     * 获取rv5的值
     * @return rv5 rv5值
     */
    public int getRv5() {
        return rv5;
    }

    /**
     * 设置rv5的值
     * @param rv5 rv5值
     */
    public void setRv5(int rv5) {
        this.rv5 = rv5;
    }

    /**
     * 获取ecgDiagnoseResult的值
     * @return ecgDiagnoseResult ecgDiagnoseResult值
     */
    public String getEcgDiagnoseResult() {
        return ecgDiagnoseResult;
    }

    /**
     * 设置ecgDiagnoseResult的值
     * @param ecgDiagnoseResult ecgDiagnoseResult值
     */
    public void setEcgDiagnoseResult(String ecgDiagnoseResult) {
        this.ecgDiagnoseResult = ecgDiagnoseResult;
    }

    /**
     * 获取spo2Tred的值
     * @return spo2Tred spo2Tred值
     */
    public int getSpo2Tred() {
        return spo2Tred;
    }

    /**
     * 设置spo2Tred的值
     * @param spo2Tred spo2Tred值
     */
    public void setSpo2Tred(int spo2Tred) {
        this.spo2Tred = spo2Tred;
    }

    /**
     * 获取spo2Pr的值
     * @return spo2Pr spo2Pr值
     */
    public int getSpo2Pr() {
        return spo2Pr;
    }

    /**
     * 设置spo2Pr的值
     * @param spo2Pr spo2Pr值
     */
    public void setSpo2Pr(int spo2Pr) {
        this.spo2Pr = spo2Pr;
    }

    /**
     * 获取nibpSys的值
     * @return nibpSys nibpSys值
     */
    public int getNibpSys() {
        return nibpSys;
    }

    /**
     * 设置nibpSys的值
     * @param nibpSys nibpSys值
     */
    public void setNibpSys(int nibpSys) {
        this.nibpSys = nibpSys;
    }

    /**
     * 获取nibpDia的值
     * @return nibpDia nibpDia值
     */
    public int getNibpDia() {
        return nibpDia;
    }

    /**
     * 设置nibpDia的值
     * @param nibpDia nibpDia值
     */
    public void setNibpDia(int nibpDia) {
        this.nibpDia = nibpDia;
    }

    /**
     * 获取nibpPr的值
     * @return nibpPr nibpPr值
     */
    public int getNibpPr() {
        return nibpPr;
    }

    /**
     * 设置nibpPr的值
     * @param nibpPr nibpPr值
     */
    public void setNibpPr(int nibpPr) {
        this.nibpPr = nibpPr;
    }

    /**
     * 获取temp的值
     * @return temp temp值
     */
    public int getTemp() {
        return temp;
    }

    /**
     * 设置temp的值
     * @param temp temp值
     */
    public void setTemp(int temp) {
        this.temp = temp;
    }

    /**
     * 获取irtemp的值
     * @return irtemp irtemp值
     */
    public int getIrtemp() {
        return irtemp;
    }

    /**
     * 设置irtemp的值
     * @param irtemp irtemp值
     */
    public void setIrtemp(int irtemp) {
        this.irtemp = irtemp;
    }

    /**
     * 获取urinertLeu的值
     * @return urinertLeu urinertLeu值
     */
    public int getUrinertLeu() {
        return urinertLeu;
    }

    /**
     * 设置urinertLeu的值
     * @param urinertLeu urinertLeu值
     */
    public void setUrinertLeu(int urinertLeu) {
        this.urinertLeu = urinertLeu;
    }

    /**
     * 获取urinertNit的值
     * @return urinertNit urinertNit值
     */
    public int getUrinertNit() {
        return urinertNit;
    }

    /**
     * 设置urinertNit的值
     * @param urinertNit urinertNit值
     */
    public void setUrinertNit(int urinertNit) {
        this.urinertNit = urinertNit;
    }

    /**
     * 获取urinertUbg的值
     * @return urinertUbg urinertUbg值
     */
    public int getUrinertUbg() {
        return urinertUbg;
    }

    /**
     * 设置urinertUbg的值
     * @param urinertUbg urinertUbg值
     */
    public void setUrinertUbg(int urinertUbg) {
        this.urinertUbg = urinertUbg;
    }

    /**
     * 获取urinertPro的值
     * @return urinertPro urinertPro值
     */
    public int getUrinertPro() {
        return urinertPro;
    }

    /**
     * 设置urinertPro的值
     * @param urinertPro urinertPro值
     */
    public void setUrinertPro(int urinertPro) {
        this.urinertPro = urinertPro;
    }

    /**
     * 获取urinertPh的值
     * @return urinertPh urinertPh值
     */
    public int getUrinertPh() {
        return urinertPh;
    }

    /**
     * 设置urinertPh的值
     * @param urinertPh urinertPh值
     */
    public void setUrinertPh(int urinertPh) {
        this.urinertPh = urinertPh;
    }

    /**
     * 获取urinertBld的值
     * @return urinertBld urinertBld值
     */
    public int getUrinertBld() {
        return urinertBld;
    }

    /**
     * 设置urinertBld的值
     * @param urinertBld urinertBld值
     */
    public void setUrinertBld(int urinertBld) {
        this.urinertBld = urinertBld;
    }

    /**
     * 获取urinertSg的值
     * @return urinertSg urinertSg值
     */
    public int getUrinertSg() {
        return urinertSg;
    }

    /**
     * 设置urinertSg的值
     * @param urinertSg urinertSg值
     */
    public void setUrinertSg(int urinertSg) {
        this.urinertSg = urinertSg;
    }

    /**
     * 获取urinertBil的值
     * @return urinertBil urinertBil值
     */
    public int getUrinertBil() {
        return urinertBil;
    }

    /**
     * 设置urinertBil的值
     * @param urinertBil urinertBil值
     */
    public void setUrinertBil(int urinertBil) {
        this.urinertBil = urinertBil;
    }

    /**
     * 获取urinertKet的值
     * @return urinertKet urinertKet值
     */
    public int getUrinertKet() {
        return urinertKet;
    }

    /**
     * 设置urinertKet的值
     * @param urinertKet urinertKet值
     */
    public void setUrinertKet(int urinertKet) {
        this.urinertKet = urinertKet;
    }

    /**
     * 获取urinertGlu的值
     * @return urinertGlu urinertGlu值
     */
    public int getUrinertGlu() {
        return urinertGlu;
    }

    /**
     * 设置urinertGlu的值
     * @param urinertGlu urinertGlu值
     */
    public void setUrinertGlu(int urinertGlu) {
        this.urinertGlu = urinertGlu;
    }

    /**
     * 获取urinertAsc的值
     * @return urinertAsc urinertAsc值
     */
    public int getUrinertAsc() {
        return urinertAsc;
    }

    /**
     * 设置urinertAsc的值
     * @param urinertAsc urinertAsc值
     */
    public void setUrinertAsc(int urinertAsc) {
        this.urinertAsc = urinertAsc;
    }

    /**
     * 获取urinertAlb的值
     * @return urinertAlb urinertAlb值
     */
    public int getUrinertAlb() {
        return urinertAlb;
    }

    /**
     * 设置urinertAlb的值
     * @param urinertAlb urinertAlb值
     */
    public void setUrinertAlb(int urinertAlb) {
        this.urinertAlb = urinertAlb;
    }

    /**
     * 获取urinertCre的值
     * @return urinertCre urinertCre值
     */
    public int getUrinertCre() {
        return urinertCre;
    }

    /**
     * 设置urinertCre的值
     * @param urinertCre urinertCre值
     */
    public void setUrinertCre(int urinertCre) {
        this.urinertCre = urinertCre;
    }

    /**
     * 获取urinertCa的值
     * @return urinertCa urinertCa值
     */
    public int getUrinertCa() {
        return urinertCa;
    }

    /**
     * 设置urinertCa的值
     * @param urinertCa urinertCa值
     */
    public void setUrinertCa(int urinertCa) {
        this.urinertCa = urinertCa;
    }

    /**
     * 获取bloodgluBeforeMeal的值
     * @return bloodgluBeforeMeal bloodgluBeforeMeal值
     */
    public int getBloodgluBeforeMeal() {
        return bloodgluBeforeMeal;
    }

    /**
     * 设置bloodgluBeforeMeal的值
     * @param bloodgluBeforeMeal bloodgluBeforeMeal值
     */
    public void setBloodgluBeforeMeal(int bloodgluBeforeMeal) {
        this.bloodgluBeforeMeal = bloodgluBeforeMeal;
    }

    /**
     * 获取bloodgluAfterMeal的值
     * @return bloodgluAfterMeal bloodgluAfterMeal值
     */
    public int getBloodgluAfterMeal() {
        return bloodgluAfterMeal;
    }

    /**
     * 设置bloodgluAfterMeal的值
     * @param bloodgluAfterMeal bloodgluAfterMeal值
     */
    public void setBloodgluAfterMeal(int bloodgluAfterMeal) {
        this.bloodgluAfterMeal = bloodgluAfterMeal;
    }

    /**
     * 获取bloodWbc的值
     * @return bloodWbc bloodWbc值
     */
    public int getBloodWbc() {
        return bloodWbc;
    }

    /**
     * 设置bloodWbc的值
     * @param bloodWbc bloodWbc值
     */
    public void setBloodWbc(int bloodWbc) {
        this.bloodWbc = bloodWbc;
    }

    /**
     * 获取bloodHgb的值
     * @return bloodHgb bloodHgb值
     */
    public int getBloodHgb() {
        return bloodHgb;
    }

    /**
     * 设置bloodHgb的值
     * @param bloodHgb bloodHgb值
     */
    public void setBloodHgb(int bloodHgb) {
        this.bloodHgb = bloodHgb;
    }

    /**
     * 获取bloodHct的值
     * @return bloodHct bloodHct值
     */
    public int getBloodHct() {
        return bloodHct;
    }

    /**
     * 设置bloodHct的值
     * @param bloodHct bloodHct值
     */
    public void setBloodHct(int bloodHct) {
        this.bloodHct = bloodHct;
    }

    /**
     * 获取uricacidTrend的值
     * @return uricacidTrend uricacidTrend值
     */
    public int getUricacidTrend() {
        return uricacidTrend;
    }

    /**
     * 设置uricacidTrend的值
     * @param uricacidTrend uricacidTrend值
     */
    public void setUricacidTrend(int uricacidTrend) {
        this.uricacidTrend = uricacidTrend;
    }

    /**
     * 获取cholesterolTrend的值
     * @return cholesterolTrend cholesterolTrend值
     */
    public int getCholesterolTrend() {
        return cholesterolTrend;
    }

    /**
     * 设置cholesterolTrend的值
     * @param cholesterolTrend cholesterolTrend值
     */
    public void setCholesterolTrend(int cholesterolTrend) {
        this.cholesterolTrend = cholesterolTrend;
    }

    /**
     * 获取height的值
     * @return height height值
     */
    public int getHeight() {
        return height;
    }

    /**
     * 设置height的值
     * @param height height值
     */
    public void setHeight(int height) {
        this.height = height;
    }

    /**
     * 获取weight的值
     * @return weight weight值
     */
    public int getWeight() {
        return weight;
    }

    /**
     * 设置weight的值
     * @param weight weight值
     */
    public void setWeight(int weight) {
        this.weight = weight;
    }

    /**
     * 获取bloodFatCho的值
     * @return bloodFatCho bloodFatCho值
     */
    public int getBloodFatCho() {
        return bloodFatCho;
    }

    /**
     * 设置bloodFatCho的值
     * @param bloodFatCho bloodFatCho值
     */
    public void setBloodFatCho(int bloodFatCho) {
        this.bloodFatCho = bloodFatCho;
    }

    /**
     * 获取bloodFatTrig的值
     * @return bloodFatTrig bloodFatTrig值
     */
    public int getBloodFatTrig() {
        return bloodFatTrig;
    }

    /**
     * 设置bloodFatTrig的值
     * @param bloodFatTrig bloodFatTrig值
     */
    public void setBloodFatTrig(int bloodFatTrig) {
        this.bloodFatTrig = bloodFatTrig;
    }

    /**
     * 获取bloodFatLdl的值
     * @return bloodFatLdl bloodFatLdl值
     */
    public int getBloodFatLdl() {
        return bloodFatLdl;
    }

    /**
     * 设置bloodFatLdl的值
     * @param bloodFatLdl bloodFatLdl值
     */
    public void setBloodFatLdl(int bloodFatLdl) {
        this.bloodFatLdl = bloodFatLdl;
    }

    /**
     * 获取bloodFatHdl的值
     * @return bloodFatHdl bloodFatHdl值
     */
    public int getBloodFatHdl() {
        return bloodFatHdl;
    }

    /**
     * 设置bloodFatHdl的值
     * @param bloodFatHdl bloodFatHdl值
     */
    public void setBloodFatHdl(int bloodFatHdl) {
        this.bloodFatHdl = bloodFatHdl;
    }

    /**
     * 获取isHaveData的值
     * @return isHaveData isHaveData值
     */
    public boolean getIsHaveData() {
        return isHaveData;
    }

    /**
     * 设置isHaveData的值
     * @param isHaveData isHaveData值
     */
    public void setIsHaveData(boolean isHaveData) {
        this.isHaveData = isHaveData;
    }

    /**
     * 获取ecgWaveI的值
     * @return ecgWaveI ecgWaveI值
     */
    public String getEcgWaveI() {
        return ecgWaveI;
    }

    /**
     * 设置ecgWaveI的值
     * @param ecgWaveI ecgWaveI值
     */
    public void setEcgWaveI(String ecgWaveI) {
        this.ecgWaveI = ecgWaveI;
    }

    /**
     * 获取ecgWaveIi的值
     * @return ecgWaveIi ecgWaveIi值
     */
    public String getEcgWaveIi() {
        return ecgWaveIi;
    }

    /**
     * 设置ecgWaveIi的值
     * @param ecgWaveIi ecgWaveIi值
     */
    public void setEcgWaveIi(String ecgWaveIi) {
        this.ecgWaveIi = ecgWaveIi;
    }

    /**
     * 获取ecgWaveIii的值
     * @return ecgWaveIii ecgWaveIii值
     */
    public String getEcgWaveIii() {
        return ecgWaveIii;
    }

    /**
     * 设置ecgWaveIii的值
     * @param ecgWaveIii ecgWaveIii值
     */
    public void setEcgWaveIii(String ecgWaveIii) {
        this.ecgWaveIii = ecgWaveIii;
    }

    /**
     * 获取ecgWaveAvr的值
     * @return ecgWaveAvr ecgWaveAvr值
     */
    public String getEcgWaveAvr() {
        return ecgWaveAvr;
    }

    /**
     * 设置ecgWaveAvr的值
     * @param ecgWaveAvr ecgWaveAvr值
     */
    public void setEcgWaveAvr(String ecgWaveAvr) {
        this.ecgWaveAvr = ecgWaveAvr;
    }

    /**
     * 获取ecgWaveAvl的值
     * @return ecgWaveAvl ecgWaveAvl值
     */
    public String getEcgWaveAvl() {
        return ecgWaveAvl;
    }

    /**
     * 设置ecgWaveAvl的值
     * @param ecgWaveAvl ecgWaveAvl值
     */
    public void setEcgWaveAvl(String ecgWaveAvl) {
        this.ecgWaveAvl = ecgWaveAvl;
    }

    /**
     * 获取ecgWaveAvf的值
     * @return ecgWaveAvf ecgWaveAvf值
     */
    public String getEcgWaveAvf() {
        return ecgWaveAvf;
    }

    /**
     * 设置ecgWaveAvf的值
     * @param ecgWaveAvf ecgWaveAvf值
     */
    public void setEcgWaveAvf(String ecgWaveAvf) {
        this.ecgWaveAvf = ecgWaveAvf;
    }

    /**
     * 获取ecgWaveV1的值
     * @return ecgWaveV1 ecgWaveV1值
     */
    public String getEcgWaveV1() {
        return ecgWaveV1;
    }

    /**
     * 设置ecgWaveV1的值
     * @param ecgWaveV1 ecgWaveV1值
     */
    public void setEcgWaveV1(String ecgWaveV1) {
        this.ecgWaveV1 = ecgWaveV1;
    }

    /**
     * 获取ecgWaveV2的值
     * @return ecgWaveV2 ecgWaveV2值
     */
    public String getEcgWaveV2() {
        return ecgWaveV2;
    }

    /**
     * 设置ecgWaveV2的值
     * @param ecgWaveV2 ecgWaveV2值
     */
    public void setEcgWaveV2(String ecgWaveV2) {
        this.ecgWaveV2 = ecgWaveV2;
    }

    /**
     * 获取ecgWaveV3的值
     * @return ecgWaveV3 ecgWaveV3值
     */
    public String getEcgWaveV3() {
        return ecgWaveV3;
    }

    /**
     * 设置ecgWaveV3的值
     * @param ecgWaveV3 ecgWaveV3值
     */
    public void setEcgWaveV3(String ecgWaveV3) {
        this.ecgWaveV3 = ecgWaveV3;
    }

    /**
     * 获取ecgWaveV4的值
     * @return ecgWaveV4 ecgWaveV4值
     */
    public String getEcgWaveV4() {
        return ecgWaveV4;
    }

    /**
     * 设置ecgWaveV4的值
     * @param ecgWaveV4 ecgWaveV4值
     */
    public void setEcgWaveV4(String ecgWaveV4) {
        this.ecgWaveV4 = ecgWaveV4;
    }

    /**
     * 获取ecgWaveV5的值
     * @return ecgWaveV5 ecgWaveV5值
     */
    public String getEcgWaveV5() {
        return ecgWaveV5;
    }

    /**
     * 设置ecgWaveV5的值
     * @param ecgWaveV5 ecgWaveV5值
     */
    public void setEcgWaveV5(String ecgWaveV5) {
        this.ecgWaveV5 = ecgWaveV5;
    }

    /**
     * 获取ecgWaveV6的值
     * @return ecgWaveV6 ecgWaveV6值
     */
    public String getEcgWaveV6() {
        return ecgWaveV6;
    }

    /**
     * 设置ecgWaveV6的值
     * @param ecgWaveV6 ecgWaveV6值
     */
    public void setEcgWaveV6(String ecgWaveV6) {
        this.ecgWaveV6 = ecgWaveV6;
    }

    /**
     * 获取waveNum的值
     * @return waveNum waveNum值
     */
    public int getWaveNum() {
        return waveNum;
    }

    /**
     * 设置waveNum的值
     * @param waveNum waveNum值
     */
    public void setWaveNum(int waveNum) {
        this.waveNum = waveNum;
    }

    /**
     * 获取nibpMap的值
     * @return nibpMap nibpMap值
     */
    public int getNibpMap() {
        return nibpMap;
    }

    /**
     * 设置nibpMap的值
     * @param nibpMap nibpMap值
     */
    public void setNibpMap(int nibpMap) {
        this.nibpMap = nibpMap;
    }

    /**
     * 获取measureTime的值
     * @return measureTime measureTime值
     */
    public Long getMeasureTime() {
        return measureTime;
    }

    /**
     * 设置measureTime的值
     * @param measureTime measureTime值
     */
    public void setMeasureTime(Long measureTime) {
        this.measureTime = measureTime;
    }

    /**
     * 获取checkDay的值
     * @return checkDay checkDay值
     */
    public Long getCheckDay() {
        return checkDay;
    }

    /**
     * 设置checkDay的值
     * @param checkDay checkDay值
     */
    public void setCheckDay(Long checkDay) {
        this.checkDay = checkDay;
    }

    /**
     * 获取doctor的值
     * @return doctor doctor值
     */
    public String getDoctor() {
        return doctor;
    }

    /**
     * 设置doctor的值
     * @param doctor doctor值
     */
    public void setDoctor(String doctor) {
        this.doctor = doctor;
    }

    /**
     * 获取waistline的值
     * @return waistline waistline值
     */
    public String getWaistline() {
        return waistline;
    }

    /**
     * 设置waistline的值
     * @param waistline waistline值
     */
    public void setWaistline(String waistline) {
        this.waistline = waistline;
    }

    /**
     * 获取respPa的值
     * @return respPa respPa值
     */
    public int getRespPa() {
        return respPa;
    }

    /**
     * 设置respPa的值
     * @param respPa respPa值
     */
    public void setRespPa(int respPa) {
        this.respPa = respPa;
    }

    /**
     * 获取mammarygland的值
     * @return mammarygland mammarygland值
     */
    public String getMammarygland() {
        return mammarygland;
    }

    /**
     * 设置mammarygland的值
     * @param mammarygland mammarygland值
     */
    public void setMammarygland(String mammarygland) {
        this.mammarygland = mammarygland;
    }

    /**
     * 获取mammaryglanderr的值
     * @return mammaryglanderr mammaryglanderr值
     */
    public String getMammaryglanderr() {
        return mammaryglanderr;
    }

    /**
     * 设置mammaryglanderr的值
     * @param mammaryglanderr mammaryglanderr值
     */
    public void setMammaryglanderr(String mammaryglanderr) {
        this.mammaryglanderr = mammaryglanderr;
    }

    /**
     * 获取vulvaerr的值
     * @return vulvaerr vulvaerr值
     */
    public String getVulvaerr() {
        return vulvaerr;
    }

    /**
     * 设置vulvaerr的值
     * @param vulvaerr vulvaerr值
     */
    public void setVulvaerr(String vulvaerr) {
        this.vulvaerr = vulvaerr;
    }

    /**
     * 获取vaginaerr的值
     * @return vaginaerr vaginaerr值
     */
    public String getVaginaerr() {
        return vaginaerr;
    }

    /**
     * 设置vaginaerr的值
     * @param vaginaerr vaginaerr值
     */
    public void setVaginaerr(String vaginaerr) {
        this.vaginaerr = vaginaerr;
    }

    /**
     * 获取cervicalerr的值
     * @return cervicalerr cervicalerr值
     */
    public String getCervicalerr() {
        return cervicalerr;
    }

    /**
     * 设置cervicalerr的值
     * @param cervicalerr cervicalerr值
     */
    public void setCervicalerr(String cervicalerr) {
        this.cervicalerr = cervicalerr;
    }

    /**
     * 获取palaceerr的值
     * @return palaceerr palaceerr值
     */
    public String getPalaceerr() {
        return palaceerr;
    }

    /**
     * 设置palaceerr的值
     * @param palaceerr palaceerr值
     */
    public void setPalaceerr(String palaceerr) {
        this.palaceerr = palaceerr;
    }

    /**
     * 获取attach的值
     * @return attach attach值
     */
    public String getAttach() {
        return attach;
    }

    /**
     * 设置attach的值
     * @param attach attach值
     */
    public void setAttach(String attach) {
        this.attach = attach;
    }

    /**
     * 获取attacherr的值
     * @return attacherr attacherr值
     */
    public String getAttacherr() {
        return attacherr;
    }

    /**
     * 设置attacherr的值
     * @param attacherr attacherr值
     */
    public void setAttacherr(String attacherr) {
        this.attacherr = attacherr;
    }

    /**
     * 获取ghbNGSP的值
     * @return ghbNGSP ghbNGSP值
     */
    public int getGhbNGSP() {
        return ghbNGSP;
    }

    /**
     * 设置ghbNGSP的值
     * @param ghbNGSP ghbNGSP值
     */
    public void setGhbNGSP(int ghbNGSP) {
        this.ghbNGSP = ghbNGSP;
    }

    /**
     * 获取ghbIFCC的值
     * @return ghbIFCC ghbIFCC值
     */
    public int getGhbIFCC() {
        return ghbIFCC;
    }

    /**
     * 设置ghbIFCC的值
     * @param ghbIFCC ghbIFCC值
     */
    public void setGhbIFCC(int ghbIFCC) {
        this.ghbIFCC = ghbIFCC;
    }

    /**
     * 获取ghbEGA的值
     * @return ghbEGA ghbEGA值
     */
    public int getGhbEGA() {
        return ghbEGA;
    }

    /**
     * 设置ghbEGA的值
     * @param ghbEGA ghbEGA值
     */
    public void setGhbEGA(int ghbEGA) {
        this.ghbEGA = ghbEGA;
    }

    /**
     * paramValue
     * @return paramValue
     */
    public int getParamValue() {
        return paramValue;
    }

    /**
     * paramValue
     * @param paramValue paramValue
     */
    public void setParamValue(int paramValue) {
        this.paramValue = paramValue;
    }

    /**
     * 获取measureValue的值
     * @return measureValue measureValue值
     */
    public int getMeasureValue() {
        return measureValue;
    }

    /**
     * 设置measureValue的值
     * @param measureValue measureValue值
     */
    public void setMeasureValue(int measureValue) {
        this.measureValue = measureValue;
    }

    /**
     * 获取urtConfig的值
     * @return urtConfig urtConfig值
     */
    public int getUrtConfig() {
        return urtConfig;
    }

    /**
     * 设置urtConfig的值
     * @param urtConfig urtConfig值
     */
    public void setUrtConfig(int urtConfig) {
        this.urtConfig = urtConfig;
    }

    /**
     * 设置id
     * @param id id
     */
    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    /**
     * 获取尿常规ac
     * @return ac
     */
    public int getUrinertAc() {
        return this.urinertAc;
    }

    /**
     * 设置尿常规ac
     * @param urinertAc ac
     */
    public void setUrinertAc(int urinertAc) {
        this.urinertAc = urinertAc;
    }

    /**
     * 获取ecgIsMeasure的值
     *
     * @return ecgIsMeasure ecgIsMeasure值
     */
    public boolean getEcgIsMeasure() {
        return ecgIsMeasure;
    }

    /**
     * 设置ecgIsMeasure的值
     *
     * @param ecgIsMeasure ecgIsMeasure值
     */
    public void setEcgIsMeasure(boolean ecgIsMeasure) {
        this.ecgIsMeasure = ecgIsMeasure;
    }

    public Long getPatientId() {
        return this.patientId;
    }

    public void setPatientId(Long patientId) {
        this.patientId = patientId;
    }
}
